dwc_otg: remove unnecessary dma-mode channel halts on disconnect interrupt
authorP33M <p33m@github.com>
Mon, 15 May 2017 13:51:42 +0000 (14:51 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:50:52 +0000 (02:50 +0000)
commit2a356b6eded6c4fc44c70cddd2641ab341dbcf49
tree5bb0502d4e3eb122b34773148b6dcac493fa2e32
parent8f189053c70583f86a33b5e697d86cad9e5cd733
dwc_otg: remove unnecessary dma-mode channel halts on disconnect interrupt

Host channels are already halted in kill_urbs_in_qh_list() with the
subsequent interrupt processing behaving as if the URB was dequeued
via HCD callback.

There's no need to clobber the host channel registers a second time
as this exposes races between the driver and host channel resulting
in hcd->free_hc_list becoming corrupted.
drivers/usb/host/dwc_otg/dwc_otg_hcd.c